package dome2;

public class text2 {
    public static void food(Anmail anmail){
        anmail.eat();
    }
    public static void main(String[] args){
        Anmail anmail=new Cat();
        food(anmail);

    }
}
